package com.ffyc.backserver.dao;

import com.ffyc.backserver.model.Admin;
import com.ffyc.backserver.model.Menu;
import org.springframework.stereotype.Repository;

import java.util.List;

@Repository
public interface LoginDao {

   Admin login(Admin admin);

   List<Menu> findMenu(Admin admin);
}
